package Day001_继承_抽象类.zuoye02;

public class yundongyuan extends person {

    private String bianhao;
    private String banji;

    public yundongyuan() {
    }

    public yundongyuan(String bianhao, String banji) {
        this.bianhao = bianhao;
        this.banji = banji;
    }

    public String getBianhao() {
        return bianhao;
    }

    public void setBianhao(String bianhao) {
        this.bianhao = bianhao;
    }

    public String getBanji() {
        return banji;
    }

    public void setBanji(String banji) {
        this.banji = banji;
    }

    public void eat(){
        System.out.println("吃营养餐");
    }
}
